home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dictionnaire Le Robert Junior
/
DictionnaireLeRobertJunior-8-12-Ans-Win95Mac.bin
/
DEMO
/
Control.cst
/
00002_Script_REGLAGLE VOLUME
< prev
next >
Wrap
Text File
|
1998-10-29
|
822b
|
27 lines
-- 31/12/97 : correction bug augmentation son avec vidΘo prΘsente
on enterFrame
global gVolume, gbBoucle, gLastMovie, gSoundLevel
-- La derniere Frame de la demo doit avoir le label "FIN DEMO"
if the frameLabel <>"FIN DEMO" then
set the volume of sound 1 = 50*gVolume
set the volume of sound 2 = 50*gVolume
set the volume of sound 3 = 50*gVolume
if the type of the member of sprite 10=#digitalVideo then
if (voidp(gSoundLevel)) then
set gSoundLevel=the soundLevel
end if
-- LME3, ATLAS
set the volume of sprite 10 to 50*gVolume
else
if not(voidp(gSoundLevel)) then
if the soundLevel<>gSoundLevel then
set the soundLevel=gSoundLevel
end if
end if
end if
pass
else
FinDemo()
end if
end